%%============================================================================
%% The beginnings of a slide document style option.  The original version was 
%% adapted from art12.sty by Roberto Minio and John Aronis.  I (sc) have made
%% some additions, mainly the page footings and some of the heading commands
%% at the end.  See more comments at the end of the file.
%%%% Siddhartha Chatterjee 	1-Jan-88
%%
%% Lily Mummert fixed the fonts so that the base size is xxpt and all other
%% sizes are scaled with respect to that.  This means that large = Large =
%% LARGE = huge = Huge.  We may have to revise the actual font sizes to get
%% a better range on the high side (normalsize 17pt, maybe?)
%%
%% Mark Maimone added changes to make it landscape
%%
%%%% Siddhartha Chatterjee 	14-May-88
%%============================================================================
% art12.sty 23 Sep 85
\lineskip 1pt \normallineskip 1pt
\def\baselinestretch{1}

\def\@normalsize{\@setsize\normalsize{25pt}\xxpt\@xxpt
%\def\@normalsize{\@setsize\normalsize{15pt}\xiipt\@xiipt
\abovedisplayskip 12pt plus3pt minus7pt\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6.5pt plus3.5pt
minus3pt}
\def\small{\@setsize\small{13.6pt}\xipt\@xipt
\abovedisplayskip 11pt plus3pt minus6pt\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6.5pt plus3.5pt
minus3pt
\def\@listi{\parsep 4.5pt plus 2pt minus 1pt
 \itemsep \parsep
 \topsep 9pt plus 3pt minus 5pt}}
\def\footnotesize{\@setsize\footnotesize{12pt}\xpt\@xpt
\abovedisplayskip 10pt plus2pt minus5pt\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6pt plus3pt minus3pt
\def\@listi{\topsep 6pt plus 2pt minus 2pt\parsep 3pt plus 2pt minus 1pt
\itemsep \parsep}}
\def\scriptsize{\@setsize\scriptsize{9.5pt}\viiipt\@viiipt}
\def\tiny{\@setsize\tiny{18pt}\xivpt\@xivpt}
%\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
\def\large{\@setsize\large{30pt}\xxvpt\@xxvpt}
%\def\large{\@setsize\large{18pt}\xivpt\@xivpt}
\def\Large{\@setsize\Large{30pt}\xxvpt\@xxvpt}
%\def\Large{\@setsize\Large{22pt}\xviipt\@xviipt}
\def\LARGE{\@setsize\LARGE{30pt}\xxvpt\@xxvpt}
%\def\LARGE{\@setsize\LARGE{25pt}\xxpt\@xxpt}
\def\huge{\@setsize\huge{30pt}\xxvpt\@xxvpt}
%\def\huge{\@setsize\huge{30pt}\xxvpt\@xxvpt}
\let\Huge=\huge
\normalsize 

%\if@twoside \oddsidemargin 21pt \evensidemargin 59pt \marginparwidth 0pt
%\else \oddsidemargin 39.5pt \evensidemargin 39.5pt
% \marginparwidth 68pt 
%\fi
% Slides are always one sided.
\oddsidemargin 0pt \evensidemargin 0pt
\marginparsep 0pt 
 \topmargin 20pt \headheight 0pt \headsep 0pt \footheight 36pt \footskip
92pt 

\textheight 550pt \textwidth 469pt \columnsep 10pt \columnseprule 0pt 

\footnotesep 15pt 
\skip\footins 12pt plus 2pt minus 4pt 
\floatsep 12pt plus 2pt minus 2pt \textfloatsep 20pt plus 2pt minus 4pt
\intextsep 14pt plus 4pt minus 4pt \@maxsep 20pt \dblfloatsep 12pt plus 2pt
minus 2pt \dbltextfloatsep 20pt plus 2pt minus 4pt \@dblmaxsep 20pt 
\@fptop 0pt plus 1fil \@fpsep 10pt plus 2fil \@fpbot 0pt plus 1fil 
\@dblfptop 0pt plus 1fil \@dblfpsep 10pt plus 2fil \@dblfpbot 0pt plus 1fil
\marginparpush 7pt 

\parskip 0pt plus 1pt \parindent 1.5em \topsep 10pt plus 4pt minus 6pt
\partopsep 3pt plus 2pt minus 2pt \itemsep 5pt plus 2.5pt minus 1pt 
\@lowpenalty 51 \@medpenalty 151 \@highpenalty 301 
\@beginparpenalty -\@lowpenalty \@endparpenalty -\@lowpenalty \@itempenalty
-\@lowpenalty 


\def\part{\par \addvspace{4ex} \@afterindentfalse \secdef\@part\@spart} 
\def\@part[#1]#2{\ifnum \c@secnumdepth >\m@ne \refstepcounter{part}
\addcontentsline{toc}{part}{\thepart \hspace{1em}#1}\else
\addcontentsline{toc}{part}{#1}\fi { \parindent 0pt \raggedright 
 \ifnum \c@secnumdepth >\m@ne \Large \bf Part \thepart \par\nobreak \fi \huge
\bf #2\markboth{}{}\par } \nobreak \vskip 3ex \@afterheading } 
\def\@spart#1{{\parindent 0pt \raggedright 
 \huge \bf 
 #1\par} \nobreak \vskip 3ex \@afterheading } 
\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus -1ex minus 
 -.2ex}{2.3ex plus .2ex}{\Large\bf}}
\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus -1ex minus 
 -.2ex}{1.5ex plus .2ex}{\large\bf}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus
 -1ex minus -.2ex}{1.5ex plus .2ex}{\normalsize\bf}}
\def\paragraph{\@startsection
 {paragraph}{4}{\z@}{3.25ex plus 1ex minus .2ex}{-1em}{\normalsize\bf}}
\def\subparagraph{\@startsection
 {subparagraph}{4}{\parindent}{3.25ex plus 1ex minus 
 .2ex}{-1em}{\normalsize\bf}}


\setcounter{secnumdepth}{3}

\def\appendix{\par
 \setcounter{section}{0}
 \setcounter{subsection}{0}
 \def\thesection{\Alph{section}}}


\leftmargini 2.5em
\leftmarginii 2.2em \leftmarginiii 1.87em \leftmarginiv 1.7em \leftmarginv 1em
\leftmarginvi 1em
\leftmargin\leftmargini
\labelwidth\leftmargini\advance\labelwidth-\labelsep
\labelsep .5em
\parsep 5pt plus 2.5pt minus 1pt
\def\@listi{\leftmargin\leftmargini}
\def\@listii{\leftmargin\leftmarginii
 \labelwidth\leftmarginii\advance\labelwidth-\labelsep
 \topsep 5pt plus 2.5pt minus 1pt
 \parsep 2.5pt plus 1pt minus 1pt
 \itemsep \parsep}
\def\@listiii{\leftmargin\leftmarginiii
 \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
 \topsep 2.5pt plus 1pt minus 1pt 
 \parsep \z@ \partopsep 1pt plus 0pt minus 1pt
 \itemsep \topsep}
\def\@listiv{\leftmargin\leftmarginiv
 \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
\def\@listv{\leftmargin\leftmarginv
 \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
\def\@listvi{\leftmargin\leftmarginvi
 \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}

\newif\iflogo
\logotrue

\def\ps@headings{\def\@oddfoot{\tiny 
\iflogo\special{psfile=cmulogo.PS 
hscale=0.7 vscale=0.7 hoffset=-20 voffset=-20}\fi\hfil \rm\thepage \hfil
\hbox to 0pt{\hss\footstring}} \def\@evenfoot{\tiny
\iflogo\special{psfile=cmulogo.PS hscale=0.7 vscale=0.7 
.hoffset=-20 voffset=-20}\fi\hfil \rm\thepage \hfil
\hbox to 0pt{\hss\footstring}} \def\@oddhead{}\def\sectionmark##1{\markright
{\uppercase{\ifnum \c@secnumdepth >\z@ \thesection\hskip 1em\relax \fi
##1}}}}

%\expandafter \ifx \csname PostScript\endcsname \relax
%\input slidefonts
%\else \relax \fi

\raggedright


\def\ssskip{\vskip 0.1 truein}
\def\sskip{\vskip 0.2 truein}                   % some vertical skips
\def\yskip{\vskip 0.33 truein}                  
\def\yyskip{\vskip 0.66 truein}
\def\yyyskip{\vskip 1 truein}
\def\footstring{\relax}
\def\slidehead#1{\newpage\begin{center}\begin{tabular*}{469pt}[t]{c}
\Huge{\parbox[c]{457pt}{\bf #1}} \\ \vspace{7pt} \\ \hline
\end{tabular*}\end{center}\yskip}
\newcommand{\head}[1]{\noindent{\huge {\bf #1}}}
\newcommand{\yhead}[1]{\yskip\noindent{\huge {\bf #1}}}
\newcommand{\centre}[1]{\begin{center}#1\end{center}}
\newcommand{\BibTeX}{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
    T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\def\nologo{\logofalse}

%%=============================================================================
%% To get the fancy page footings, say \pagestyle{headings} at the beginning 
%% of the document.
%%
%% The default footing in \pagestyle{headings} is the CMU tilted square on
%% the left, the page number in the centre, and \footstring on the right.
%% The default definition of \footstring is the empty string.  It should be
%% defined in the .tex file (through a \def or a \newcommand) if desired.
%% If you don't want the tilted square, say \nologo in the .tex file.
%%
%% Siddhartha Chatterjee (14 May 1988)
%%=============================================================================



